tools: set grant limits for xenstore stubdom
authorJuergen Gross <jgross@suse.com>
Thu, 28 Sep 2017 09:06:57 +0000 (11:06 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Sep 2017 09:06:57 +0000 (11:06 +0200)
commit4146a43e652b0177c55bf6dedc983f5006e3960a
tree2f886ab68ffbf0d99346566f50c4dda622833c2b
parent99a702a5b9687e45565eb05a3ff5698818f65898
tools: set grant limits for xenstore stubdom

When creating a Xenstore stubdom set the grant limits: the stubdom
will need to setup a very limited amount of grants only, so 4 grant
frames are enough. For being able to support up to 32768 domains it
will need 128 maptrack frames (1 mapping per domain, 256 maptrack
entries per maptrack frame).

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/helpers/init-xenstore-domain.c